'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {  
  require("./routers/admin")(app);
  require("./routers/api")(app);

   // socket.io
   app.io.of('/').route('clientMsg', app.io.controller.default.index);

};
